package cn.whale.pay.dto;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//http://localhost:1030/alipay/return?
// charset=UTF-8
// &out_trade_no=784068487105613824
// &method=alipay.trade.page.pay.return
// &total_amount=100.00
// &sign=JZfJJylw%2BO04SIieAqwoBzT9B68Wo5rgZaVUWnw1kriB1GhLZProvp5c1OQYRvD%2F3BXUbC5%2BMcQZ2NiJDZKAcPdL%2BnZv1NCKQ0%2BnmuZKPLGNu%2FtRQsvub36OzVSoAhPSjJlkJp8ndAJ8EuDq0k%2BKtddqYBYm7FjEz1shGnx%2BEFCLDOog2zpxoxxi%2Fj7JK%2FSLId2zmTMGqcdKUp1J9ZOKLxA8L1MKrZ6mafffZFPT9WZQLIiXvL09qOhLPRoJvwaLERKDQsVqEgFMoBT01pkK3Q7JJmMABKcUi3t06pzaPIJwlzMCtHGkeSHKfj0oZGoaPxDwPieM10EFG2flKMy56A%3D%3D
// &trade_no=2020121222001482421000203986
// &auth_app_id=2016092800613550
// &version=1.0
// &app_id=2016092800613550&
// sign_type=RSA2&
// seller_id=2088102177607375
// &timestamp=2020-12-12+16%3A15%3A50
@Data
public class AlipayReturnDto {
    private String charset;
    private String out_trade_no;
    private BigDecimal total_amount;
    private String method;
    private String sign;
    private String trade_no;
    private String auth_app_id;
    private String version;
    private String sign_type;
    private String seller_id;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timestamp;
    private String app_id;

}
